// 登录注册页面的api封装
import http from '../utils/http.js'

// 获取注册验证码
export function getRegVerify(params) {
  return http.get('/using/email/verify', params);
}

// 用户注册
export function userRegister(params){
  return http.post('/using/kp/reg', params);
}

// 用户登录
export function userLogin(params){
  return http.post('/using/kp/login', params);
}

// 退出登录
export function userLogout(params){
  return http.get('/using/kp/logout', params);
}
